home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / mkmf.prog / local.mk < prev    next >
Encoding:
Text File  |  1988-12-28  |  886 b   |  21 lines

  1. #
  2. # This file is included by Makefile.  Makefile is generated automatically
  3. # by mkmf, and this file provides additional local personalization.  The
  4. # variable SYSMAKEFILE is provdied by Makefile;  it's a system Makefile
  5. # that must be included to set up various compilation stuff.
  6. #
  7.  
  8. #
  9. # This program needs to have a different name than its directory.  The
  10. # reason for this is that the Makefile in .. has a target for each of its
  11. # subdirectories, plus a standard target with the same name as this
  12. # program's name.  Thus if the directory were named after its program,
  13. # which is the usual case, there would be conflict of Makefile targets
  14. # and weird things would happen during makes.  Instead, this directory
  15. # is given a ".prog" extension, which means that NAME is set wrong in
  16. # Makefile.  To compensate, we reset NAME here.
  17.  
  18. NAME        := $(NAME:S|.prog||)
  19.  
  20. #include    <$(SYSMAKEFILE)>
  21.